package cn.edu.neu.studentmsg_java.service;

import cn.edu.neu.studentmsg_java.model.Course;

import java.util.List;

public interface CourseService {
    List<Course> findCoursePart(Course course);

    int removeCourseById(Integer course_id);

    int addCourse(Course course);

    int modifyCourseById(Course course);

    boolean CategoryIsOneByCourseName(String course_name);

    List<Course> findMajorCourses();

    List<Course> findMinorCourses();

    List<String> findCourseName();

    String findMajorNameByCourseId(Integer course_id);

    List<String> findMinorCourseName();

    String findCourseNameByCourseId(Integer course_id);
}
